<?php

namespace addons\helpcenter\model;

use data\model\BaseModel as BaseModel;

class VslQuestionCateModel extends BaseModel
{
    protected $table = 'vsl_question_cate';
    protected $rule = [
        'cate_id' => '',
    ];
    protected $msg = [
        'cate_id' => '',
    ];

    public function questions()
    {
        return $this->hasMany('VslQuestionModel', 'cate_id', 'cate_id');
    }
}